//
//  JKSelectorPictureFlowLayout.swift
//  JKSelectorPicture
//
//  Created by 王冲 on 2018/1/28.
//  Copyright © 2018年 希爱欧科技有限公司. All rights reserved.
//

import UIKit

class JKSelectorPictureFlowLayout: UICollectionViewFlowLayout {
    
    override func prepare() {
        
        super.prepare()
        
        itemSize = CGSize(width: (JKscreenW-41)/3.0, height: 100)
        // 行之间的间距
        minimumLineSpacing = 10
        // 列之间的间距
        minimumInteritemSpacing = 10
        sectionInset = UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10)
        
    }
}

